'Declaration Public Overloads Shared Function Create( _ ByVal renderTarget As RenderTarget, _ ByVal size As Nullable(Of Size2F) _ ) As Layer
public static Layer Create( RenderTarget renderTarget, Nullable<Size2F> size )
Parameters
- renderTarget
- an instance of RenderTarget
- size
- If (0, 0) is specified, no backing store is created behind the layer resource. The layer resource is allocated to the minimum size when {{PushLayer}} is called.